package com.hooper.dp.constant;

/**
 * @author Tim Hooper
 * @version 1.0
 * @time 2023/02/25/15:58
 */
public class ShopConstant {

    /**
     * 商品缓存key前缀
     */
    public static final String SHOP_CACHE_KEY = "hmdp:shop:cache:";

    /**
     * 商铺缓存过期时间
     */
    public static final long SHOP_CACHE_TTL = 30L;
    /**
     * 商品类型缓存key前缀
     */
    public static final String SHOP_TYPE_CACHE_KEY = "hmdp:shopType:cache:";

    /**
     * 旧数据key
     */
    public static final String OLD_SHOP_DATA = "old";
    /**
     * 新数据key
     */
    public static final String NEW_SHOP_DATA = "new";
}
